public abstract class AcceptanceStrategy
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected SharedAgentState |
helper
Reference to the helper-object, which is used when there is overlap between
the acceptance condition and offering strategy.
|
protected NegotiationSession |
negotiationSession
Reference to the object which holds all information about the negotiation.
|
protected OfferingStrategy |
offeringStrategy
Reference to the offering strategy.
|
| Constructor and Description |
|---|
AcceptanceStrategy() |
| Modifier and Type | Method and Description |
|---|---|
abstract Actions |
determineAcceptability()
Determines to either to either accept or reject the opponent's bid
or even quit the negotiation.
|
void |
init(NegotiationSession negotiationSession,
OfferingStrategy offeringStrategy,
java.util.HashMap<java.lang.String,java.lang.Double> parameters)
Standard initialize method to be called after using the empty constructor.
|
boolean |
isMAC()
Method which states if the current acceptance strategy is the
Multi-Acceptance Strategy.
|
java.lang.String |
printParameters() |
void |
setOpponentUtilitySpace(BilateralAtomicNegotiationSession fNegotiation)
Method which may be overwritten to get access to the opponent's utilityspace in an experimental setup.
|
protected NegotiationSession negotiationSession
protected OfferingStrategy offeringStrategy
protected SharedAgentState helper
public void init(NegotiationSession negotiationSession, OfferingStrategy offeringStrategy, java.util.HashMap<java.lang.String,java.lang.Double> parameters) throws java.lang.Exception
negotiationSession - state of the negotiation.offeringStrategy - of the agent.parameters - of the acceptance strategy.java.lang.Exception - thrown when initializing the acceptance strategy fails.public java.lang.String printParameters()
public void setOpponentUtilitySpace(BilateralAtomicNegotiationSession fNegotiation)
fNegotiation - reference to negotiation setting.public abstract Actions determineAcceptability()
public boolean isMAC()